package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.itheima.reggie.domain.Category;
import com.itheima.reggie.domain.Setmeal;
import com.itheima.reggie.domain.SetmealDish;

import java.util.List;

public interface SetmealService {
    Page<Setmeal> findByPage(Integer pageNum, Integer pageSize, String name);

    void save(Setmeal setmeal);

    void deleteByIds(Long[] ids);

    void updateByStatus(Integer status, Long[] ids);

    Setmeal findBySetmealId(Long id);

    void update(Setmeal setmeal);

    List<Setmeal> findByCategoryId(Long categoryId,Integer status);

    List<SetmealDish> findBySetmealIds(Long id);
}
